﻿using System;
using System.Reactive.Disposables;

namespace nRoute.Components.Composition
{
    public interface ILifetimeManager
        : IDisposable
    {
        Object ManageBuild(ITypeBuilder typeBuilder, Func<ITypeBuilder, Object> resourceBuilder);
    }
}
